package com.alibaba.algo.enums;

import lombok.Getter;

/**
 * @ClassName: ResourceTypeEnum
 * @Description: 资源类型枚举类
 * @Author: wugongzi
 * @Date: 2021/12/02 16:07
 * @Version: 1.0
 */
@Getter
public enum ResourceTypeEnum {
    USER(1,"用户"),
    ROLE(2,"角色"),
    RESOURCE(3,"资源"),
    POSITION(4,"岗位"),
    LABEL(5,"岗位标签"),
    ORG(6,"组织"),
    GROUP(7,"用户组"),
    EMPLOYEE(8,"员工"),
    CAROUSEL(9,"轮播图"),
    FUNCTION_INFO(10,"功能"),
    DICT(11,"数据字典"),
    APP_ACCOUNT(12,"应用账号"),
    APP_INFO(13,"应用"),
    SYNC_EMPLOYEE_ORG_POS_REL(14,"同步关系数据"),
    SYNC_USER_EMPLOYEE(15,"同步人员数据"),
    ;
    /**
     * 编号
     */
    private Integer code;

    /**
     * 描述
     */
    private String dsec;

    ResourceTypeEnum(Integer code, String dsec) {
        this.code = code;
        this.dsec = dsec;
    }
}
